<meta charset=UTF-8>
<div class="panel-ul-tab main-tab-search">
	<ul id="ul_tab" class="nav nav-tabs panel-radius-search-left" style="height:250px;">
		<li id="li_basicusers"><a  href="yueyogaAdmin/searchBasicUsers.jhtml"><span class="glyphicon glyphicon-user"></span>&nbsp;&nbsp;用户管理</a></li>
		<li id="li_groupusers"><a  href="yueyogaAdmin/searchGroupUsers.jhtml"><span class="glyphicon glyphicon-tasks"></span>&nbsp;&nbsp;组&nbsp;管&nbsp;理</a></li>
		<li id="li_roleusers"><a  href="yueyogaAdmin/findRoleUsers.jhtml"><span class="glyphicon glyphicon-tasks"></span>&nbsp;&nbsp;角色管理</a></li>
		<li id="li_authorities"><a href="yueyogaAdmin/findAllAuthorities.jhtml"><span class="glyphicon glyphicon-tasks"></span>&nbsp;&nbsp;权限管理</a></li>
		<li id="li_resources"><a href="yueyogaAdmin/findAllResources.jhtml"><span class="glyphicon glyphicon-tasks"></span>&nbsp;&nbsp;资源管理</a></li>
	</ul>
</div>
<script type="text/javascript">
	$(function() {
		var path = window.location.href;
		var yhLen = path.split("BasicUsers").length;
		var fzLen = path.split("searchGroupUsers").length;
		var jsLen = path.split("findRoleUsers").length;
		var qxLen = path.split("findAllAuthorities").length;
		var zyLen = path.split("findAllResources").length;
		if (yhLen > 1 || fzLen > 1 || jsLen > 1 || qxLen > 1 || zyLen > 1) {
			$("#li_system").addClass("active");
		}
		if(zyLen > 1){
			$("#li_resources").addClass("active");
		}else if(fzLen > 1){
			$("#li_groupusers").addClass("active");
		}else if(jsLen > 1){
			$("#li_roleusers").addClass("active");
		}else if(qxLen > 1){
			$("#li_authorities").addClass("active");
		}else if(yhLen > 1){
			$("#li_basicusers").addClass("active");
		}
	});
</script>